﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using HCMServices.DTO;

namespace HCMServices.BUS
{
    /// <summary>
    /// Coordinates of place
    /// </summary>
    public class Coordinates
    {
        /*
         * Fields 
         */
        private double _longitude;
        private double _latitude;

        /*
         * Properties 
         */
        public double Longitude
        {
            get { return _longitude; }
            set { _longitude = value; }
        }

        public double Latitude
        {
            get { return _latitude; }
            set { _latitude = value; }
        }

        /*
         * Methods
         */

        // develop in final release
        public void GetMap(DataDTO data)
        {            
        }

        public void GetCoordinatesFromPlace(HardDataDTO place)
        {
            this.Latitude = place.Latitude;
            this.Longitude = place.Longitude;
        }
    }
}
